<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:pou="http://primefaces.org/ui" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets">
    <head>
        <title>login</title>
    </head>
    <body>
        <ui:composition>
            <pou:messages />
            <h:panelGroup layout="block" class="formloging">
                <h:panelGrid >
                    <f:facet name="header">
                        <h:outputText value="Autenticacion" />                    
                    </f:facet>
                    <h:panelGrid columns="2">
                        <h:outputText value="Usuario:" />
                        <pou:inputText size="10" value="#{usuario.usuario}" />
                        <h:outputText  value="Clave:" />
                        <pou:password feedback="false" size="10" value="#{usuario.clave}" />
                        <pou:commandButton onstart="dlgwait.show()" oncomplete="dlgwait.hide()" value="Ingresar" actionListener="#{mbUsuarios.validarUsuario()}" update="@form" />
                    </h:panelGrid>
                </h:panelGrid>
            </h:panelGroup>
        </ui:composition>
    </body>
</html>
